﻿using SmartCity.BasicData.Repo;

namespace SmartCity.BasicData.Api.Write.Extensions
{
    public static class SCServiceExtensions
    {
        public static IServiceCollection AddSCService(this IServiceCollection services) {

            //注册仓储
            services.AddScoped(typeof(IBaseRepository<>),typeof(BaseReposity<>));


            return services;
        }
    }
}
